
package com.onlineMIS.action.headQ.inventoryFlow;

import java.io.File;
import java.io.InputStream;
import java.sql.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.onlineMIS.ORM.entity.base.Pager;
import com.onlineMIS.ORM.entity.chainS.inventoryFlow.ChainInventoryFlowOrder;
import com.onlineMIS.ORM.entity.headQ.barcodeGentor.ProductBarcode;
import com.onlineMIS.ORM.entity.headQ.inventoryFlow.HeadqInventoryFlowOrder;
import com.onlineMIS.action.chainS.ChainActionFormBaseBean;


public class HeadqInventoryFlowFormBean extends ChainActionFormBaseBean{
	
	private Date startDate = new Date(new java.util.Date().getTime());
	private Date endDate = new Date(new java.util.Date().getTime());
	
	private int parentId = 0;
	private int storeId;
	private String storeIds;
	private int yearId = 0;
	private int quarterId = 0;
	private int brandId = 0;
	private int categoryId =0;
	private int categoryLevelId;
	
	/**合并单据的单据号集合字符串   */
	private String documentIds;
	
	/**
	 * 1: by brandId
	 * 2: by categoryId
	 */
	private int rptTypeId;
	private int belongTo;
    //file download
	 private File inventory = null;
	private InputStream fileStream;
	private String fileName;
	private int pbId;
	private String barcode;
	private String jsons;
	private String responseMsg;
	
	private ProductBarcode pb = new ProductBarcode();
	private int indexPage;
	private int fromSrc;
	private Pager pager = new Pager();
	private Date searchStartTime = new Date(new java.util.Date().getTime());
	private Date searchEndTime = new Date(new java.util.Date().getTime());
	
	private HeadqInventoryFlowOrder flowOrder = new HeadqInventoryFlowOrder();
	private int isDetails;
	
	public HeadqInventoryFlowFormBean(int parentId, int storeId, int yearId, int quarterId, int brandId,int categoryId,int categoryLevelId,int rptTypeId,int belongTo,
			InputStream fileStream, String fileName, int pbId, ProductBarcode pb, int indexPage, int fromSrc,
			Date searchStartTime,Date searchEndTime, HeadqInventoryFlowOrder flowOrder) {
		super();
		this.parentId = parentId;
		this.storeId = storeId;
		this.yearId = yearId;
		this.quarterId = quarterId;
		this.brandId = brandId;
		this.categoryId = categoryId;
		this.categoryLevelId = categoryLevelId;
		this.rptTypeId = rptTypeId;
		this.belongTo = belongTo;
		this.fileStream = fileStream;
		this.fileName = fileName;
		this.pbId = pbId;
		this.pb = pb;
		this.indexPage = indexPage;
		this.fromSrc = fromSrc;
		this.searchStartTime = searchStartTime;
		this.searchEndTime = searchEndTime;
		this.flowOrder = flowOrder;
	}


	public String getJsons() {
		return jsons;
	}


	public void setJsons(String jsons) {
		this.jsons = jsons;
	}


	public String getBarcode() {
		return barcode;
	}


	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}


	public int getCategoryLevelId() {
		return categoryLevelId;
	}
	public void setCategoryLevel1Id(int categoryLevelId) {
		this.categoryLevelId = categoryLevelId;
	}
	public int getRptTypeId() {
		return rptTypeId;
	}
	public void setRptTypeId(int rptTypeId) {
		this.rptTypeId = rptTypeId;
	}
	public File getInventory() {
		return inventory;
	}

	public void setInventory(File inventory) {
		this.inventory = inventory;
	}

	public Pager getPager() {
		return pager;
	}

	public void setPager(Pager pager) {
		this.pager = pager;
	}
	
	public int getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}

	public HeadqInventoryFlowFormBean() {
		super();		
	}

	public Date getSearchEndTime() {
		return searchEndTime;
	}

	public void setSearchEndTime(Date searchEndTime) {
		this.searchEndTime = searchEndTime;
	}

	public Date getSearchStartTime() {
		return searchStartTime;
	}

	public void setSearchStartTime(Date searchStartTime) {
		this.searchStartTime = searchStartTime;
	}
	
	public void finalize() {
		flowOrder = new HeadqInventoryFlowOrder();
	}
	
	public ProductBarcode getPb() {
		return pb;
	}
	public void setPb(ProductBarcode pb) {
		this.pb = pb;
	}
	public int getIndexPage() {
		return indexPage;
	}
	public void setIndexPage(int indexPage) {
		this.indexPage = indexPage;
	}
	public int getFromSrc() {
		return fromSrc;
	}
	public void setFromSrc(int fromSrc) {
		this.fromSrc = fromSrc;
	}

	public HeadqInventoryFlowOrder getFlowOrder() {
		return flowOrder;
	}
	public void setFlowOrder(HeadqInventoryFlowOrder flowOrder) {
		this.flowOrder = flowOrder;
	}
	public int getPbId() {
		return pbId;
	}
	public void setPbId(int pbId) {
		this.pbId = pbId;
	}
	public InputStream getFileStream() {
		return fileStream;
	}
	public void setFileStream(InputStream fileStream) {
		this.fileStream = fileStream;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public int getStoreId() {
		return storeId;
	}
	public void setStoreId(int storeId) {
		this.storeId = storeId;
	}
	public int getYearId() {
		return yearId;
	}
	public void setYearId(int yearId) {
		this.yearId = yearId;
	}
	public int getQuarterId() {
		return quarterId;
	}
	public void setQuarterId(int quarterId) {
		this.quarterId = quarterId;
	}
	public int getBrandId() {
		return brandId;
	}
	public void setBrandId(int brandId) {
		this.brandId = brandId;
	}

	public int getBelongTo() {
		return belongTo;
	}

	public void setBelongTo(int belongTo) {
		this.belongTo = belongTo;
	}

	public void setCategoryLevelId(int categoryLevelId) {
		this.categoryLevelId = categoryLevelId;
	}

	public String getDocumentIds() {
		return documentIds;
	}

	public void setDocumentIds(String documentIds) {
		this.documentIds = documentIds;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getResponseMsg() {
		return responseMsg;
	}

	public void setResponseMsg(String responseMsg) {
		this.responseMsg = responseMsg;
	}

	public String getStoreIds() {
		return storeIds;
	}

	public void setStoreIds(String storeIds) {
		this.storeIds = storeIds;
	}
	

}

